<?php
function lib_user_get_info(){
	
}
/**
 * 
 * 根据TID判断是否为俱乐部文章
 * 
 * 
 *
 * @param unknown_type $tid
 * @return unknown
 */
function lib_user_ison_by_tid($tid){
	db_charset();

	$tid = mysql_escape_string($tid);
//	var_dump("SELECT 1 FROM topic WHERE topic_tid='{$tid}' AND topic_is_club='1'");exit;
	$res = db_query("SELECT 1 FROM topic WHERE topic_tid='{$tid}' AND topic_is_club='1'");
	
	if (mysql_num_rows($res)>0) {
		return true;
	}else{
		return false;
	}
}








?>